home *** CD-ROM | disk | FTP | other *** search
- /*
- Original author: Markus "lammy" Lamers
- email: markus.lamers@tu-clausthal.de
-
- Re-hacked into this: Troy "Doogie" Davis
- email: doogie@wsp1.wspice.com
- */
-
- parse arg args
- options results
-
- amport = 0; ibport = 0; awport = 0
-
- if show(p,"AMOSAIC.1") then amport = 1
- if show(p,"IBROWSE") then ibport = 1
- if show(p,"AWEB.1") then awport = 1
-
- if ~amport & ~ibport & ~awport then do
- call rtezrequest("You must have AMosaic, IBrowse, or AWeb running.")
- exit
- end
- else if amport & ibport & awport then do
- b = rtezrequest("What browser do you want the URL directed to?","_All|A_Mosaic|_IBrowse|A_Web|_Cancel","Send URL...")
- if b = 0 then exit
- if b = 1 then browser = "am ib aw"
- if b = 2 then browser = "am"
- if b = 3 then browser = "ib"
- if b = 4 then browser = "aw"
- end
- else if amport & ibport then do
- b = rtezrequest("What browser do you want the URL directed to?","_All|A_Mosaic|_IBrowse|_Cancel","Send URL...")
- if b = 0 then exit
- if b = 1 then browser = "am ib"
- if b = 2 then browser = "am"
- if b = 3 then browser = "ib"
- end
- else if amport & awport then do
- b = rtezrequest("What browser do you want the URL directed to?","_All|A_Mosaic|A_Web|_Cancel","Send URL...")
- if b = 0 then exit
- if b = 1 then browser = "am aw"
- if b = 2 then browser = "am"
- if b = 3 then browser = "aw"
- end
- else if ibport & awport then do
- b = rtezrequest("What browser do you want the URL directed to?","_All|_IBrowse|A_Web|_Cancel","Send URL...")
- if b = 0 then exit
- if b = 1 then browser = "ib aw"
- if b = 2 then browser = "ib"
- if b = 3 then browser = "aw"
- end
- else if amport then do
- b = rtezrequest("What browser do you want the URL directed to?","A_Mosaic|_Cancel","Send URL...")
- if b = 0 then exit
- if b = 1 then browser = "am"
- end
- else if ibport then do
- b = rtezrequest("What browser do you want the URL directed to?","_IBrowse|_Cancel","Send URL...")
- if b = 0 then exit
- if b = 1 then browser = "ib"
- end
- else if awport then do
- b = rtezrequest("What browser do you want the URL directed to?","A_Web|_Cancel","Send URL...")
- if b = 0 then exit
- if b = 1 then browser = "aw"
- end
-
- if find(browser,"ib") ~= 0 then address IBROWSE GOTOURL args
- if find(browser,"aw") ~= 0 then address AWEB.1 OPEN args
- if find(browser,"am") ~= 0 then address AMOSAIC.1 JUMP URL args
-